package foo.bar.wiki.plugins.impl;

import foo.bar.wiki.plugins.Plugin;
import foo.bar.wiki.plugins.PluginContext;
import foo.bar.wiki.plugins.PluginException;

/**
 * Created by IntelliJ IDEA.
 * User: tmjee
 * Date: 14/11/2009
 * Time: 9:11:00 PM
 * To change this template use File | Settings | File Templates.
 */
public class AbstractPlugin implements Plugin {

    private PluginContext pluginContext;

    public void init(PluginContext pluginContext) throws PluginException {
        this.pluginContext = pluginContext;
    }

    public void destroy() {
    }

    protected PluginContext getPluginContext() {
        return pluginContext;
    }
}
